package com.endbd.feignapi.model.marketing;
import java.util.Date;

import com.endbd.feignapi.model.system.User;
import com.endbd.feignapi.model.warehouse.CkWarehouse;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.NumberFormat;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString


public class Order {

  private String orderId;
  private Integer customId;   private Custom customName;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date orderTime;
  private Double orderMoney;
  private Integer operatorId;  private User operator;
  private String status;
  private Integer checkId;    private User checker;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date checkTime;
  private String opinion;
  private Integer warehouseId;  private CkWarehouse ckWarehouse;
  private Integer ddState;


}
